<?php
/**
 * 
 */

	class HttpRequest {
		
		public $method;
		public $url;
		public $getArgs;
		public $postArgs;
		public $putArgs;
		public $fileArgs;
		public $deleteArgs;
		public $server;
		
		public function getActualUrl(){
			if(!endswith($this->url, '/')) {
				$this->url = $this->url . "/";
			}
			return "http://" . $this->server . $this->url;
		}
	}


?>